home *** CD-ROM | disk | FTP | other *** search
- Path: mother.usf.edu!news
- From: yatesc@csee.usf.edu (Randy Yates)
- Newsgroups: comp.lang.c++
- Subject: Re: Sound Programming
- Date: 22 Mar 1996 15:46:55 GMT
- Organization: University of South Florida
- Message-ID: <4iui1f$o0p@mother.usf.edu>
- References: <4irfbm$lun@hod.hiof.no>
- NNTP-Posting-Host: ppp166.cfr.usf.edu
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.93.14
-
- In article <4irfbm$lun@hod.hiof.no>, torstein@sid.hiof.no says...
- >
- >In my project, I'm supposed to try to put an array of floats out on the
- >speakers. The values of the floats are from 100.0 to 160.0.
- >Is it possible to write them to my SB16? And if so, can anyone please tell
- >me how?
- >
- >Thanx in advance.
-
- Before you ever get to the problem of outputting the data
- you have to decide how you're going to scale your
- data. If you try to simply convert these values to 16-bit signed
- integers, you will have a dynamic range of 35.6 dB and that dynamic
- range will be some -60 dB below full-scale - fairly faint! Also,
- you don't seriously expect the Soundblaster to maintain DC levels,
- do you? I'm sure it is AC-coupled, hence any DC information is going
- to be lost.
-
-
- >
- >Torstein
- >--
- > torstein@sid.hiof.no (URL: http://www-ia.hiof.no/~torstein)
- > ----- /// -----
- > Organized religions make a Mockery of humanity
-
- --
- % Randy Yates % "...the answer lies within your soul
- % EE/Mathematics Student % 'cause no one knows which side
- % University of South Florida % the coin will fall."
- % <yatesc@csee.usf.edu> % 'Big Wheels', *Out of the Blue*, ELO
-
-